package com.cqupt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cqupt.model.pojo.BookCategory;
import com.cqupt.service.BookCategoryService;
import com.cqupt.mapper.BookCategoryMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class BookCategoryServiceImpl extends ServiceImpl<BookCategoryMapper, BookCategory>
        implements BookCategoryService {

    @Resource
    private BookCategoryMapper bookCategoryMapper;

    @Override
    public List<BookCategory> all() {
        return bookCategoryMapper.selectList(null);

    }
}




